package com.ccs.testcase;



import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.FixMethodOrder;
import org.junit.runners.MethodSorters;
import org.openqa.selenium.WebDriver;

import com.ccs.functions.*;
import com.ccs.testdatas.*;

@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class TestData_Loa {
	
	private static WebDriver driver;
	@Before
	public void startBrowser() throws Exception{
		Webdriver d = new Webdriver();
		driver = d.startUp();
	}
	@Test
	public void inpatient_loa_1() throws Exception{
		System.out.println("Start Test Data: 1st LOA");
		InpatientLOA loa = new InpatientLOA();
		loa.inpatient(driver);
		Logout out = new Logout();
		out.hcs(driver);
		System.out.println("End Test Data: 1st LOA\n");
	}
	@Test
	public void inpatient_loa_2() throws Exception{
		System.out.println("Start Test Data: 2nd LOA");
		InpatientLOA loa = new InpatientLOA();
		loa.inpatient(driver);
		Logout out = new Logout();
		out.hcs(driver);
		System.out.println("End Test Data: 2nd LOA\n");
	}
	@Test
	public void inpatient_loa_3() throws Exception{
		System.out.println("Start Test Data: 3rd LOA");
		InpatientLOA loa = new InpatientLOA();
		loa.inpatient(driver);
		Logout out = new Logout();
		out.hcs(driver);
		System.out.println("End Test Data: 3rd LOA\n");
	}
	@Test
	public void inpatient_loa_4() throws Exception{
		System.out.println("Start Test Data: 4th LOA");
		InpatientLOA loa = new InpatientLOA();
		loa.inpatient(driver);
		Logout out = new Logout();
		out.hcs(driver);
		System.out.println("End Test Data: 4th LOA\n");
	}
	@Test
	public void inpatient_loa_5() throws Exception{
		System.out.println("Start Test Data: 5th LOA");
		InpatientLOA loa = new InpatientLOA();
		loa.inpatient(driver);
		Logout out = new Logout();
		out.hcs(driver);
		System.out.println("End Test Data: 5th LOA\n");
	}

	@After
	public void endBrowser(){
		driver.quit();
	}


	
}
